package com.hy.mydesktop.client.mvc.panel;

import com.extjs.gxt.ui.client.widget.Component;
import com.extjs.gxt.ui.client.widget.form.FormPanel;
import com.google.gwt.user.client.ui.Widget;
import com.hy.mydesktop.client.mvc.base.BaseDisplay;

public class FormPanelDisplay implements BaseDisplay{
	
	private FormPanel formPanel = null;

	public FormPanelDisplay(FormPanel formPanel) {
		this.formPanel=formPanel;
	}

	@Override
	public boolean add(Widget widget) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public Component getComponent() {
		// TODO Auto-generated method stub
		return formPanel;
	}

	@Override
	public void setComponent(Component component) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Widget asWidget() {
		// TODO Auto-generated method stub
		return null;
	}


}
